<?php
class ZTrendItem{
    /**
     * @var DateTime
     */
    private $date;
    /**
     * @var Int
     */
    private $trend;

    /**
     * @param $date DateTime
     * @param $trend Int
     */
    function __construct($date, $trend){
        $this->date = $date;
        $this->trend = $trend;
    }

    /**
     * @return DateTime
     */
    public function getDate(){
        return $this->date;
    }

    /**
     * @return Int
     */
    public function getTrend(){
        return $this->trend;
    }
}
?>